package com.jbinfo.mongoot.operation.servant;

import java.io.Serializable;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="servant")
public class Servant implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	private ObjectId id; //ID
	//作为唯一字段
	private String userid;
	private String company_code; // 服务站编号
	private String company_name; // 服务站名字
	private String name;//姓名
	private String code; // 员工编号
	private String loginName;//登录账号
	private String password;//登录密码
	private String sex; //性别
	private String birth;//出生年月
	private String cardId;//身份证号
	private	String address;//家庭住址
	private String xingzheng_title;//
	private String xingzheng_code;//
	private String jiedao_title;//
	private String jiedao_code;
	private String shequ_title;
	private String shequ_code;
	private String phone;//手机号码
	private String status;//在职状态
	private String service1_code;//项目1Code   
	private String service1_name;//项目1名
	private String service2_code;//项目2Code   
	private String service2_name;//项目2名
	private String service3_code;//项目3Code   
	private String service3_name;//项目3名
	private String personPhoto;  //照片 
	private String cardPhoto;    //身份证照片
	private String qualityPhoto; //职业资格证照片
	private String healthPhoto;  //健康证照片
	private Integer isvalid;
	private String create_time;	
	
	
	public ObjectId getId() {
		return id;
	}
	public void setId(ObjectId id) {
		this.id = id;
	}
	
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirth() {
		return birth;
	}
	public void setBirth(String birth) {
		this.birth = birth;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getXingzheng_title() {
		return xingzheng_title;
	}
	public void setXingzheng_title(String xingzheng_title) {
		this.xingzheng_title = xingzheng_title;
	}
	public String getXingzheng_code() {
		return xingzheng_code;
	}
	public void setXingzheng_code(String xingzheng_code) {
		this.xingzheng_code = xingzheng_code;
	}
	public String getJiedao_title() {
		return jiedao_title;
	}
	public void setJiedao_title(String jiedao_title) {
		this.jiedao_title = jiedao_title;
	}
	public String getJiedao_code() {
		return jiedao_code;
	}
	public void setJiedao_code(String jiedao_code) {
		this.jiedao_code = jiedao_code;
	}
	public String getShequ_title() {
		return shequ_title;
	}
	public void setShequ_title(String shequ_title) {
		this.shequ_title = shequ_title;
	}
	public String getShequ_code() {
		return shequ_code;
	}
	public void setShequ_code(String shequ_code) {
		this.shequ_code = shequ_code;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getService1_code() {
		return service1_code;
	}
	public void setService1_code(String service1_code) {
		this.service1_code = service1_code;
	}
	public String getService1_name() {
		return service1_name;
	}
	public void setService1_name(String service1_name) {
		this.service1_name = service1_name;
	}
	public String getService2_code() {
		return service2_code;
	}
	public void setService2_code(String service2_code) {
		this.service2_code = service2_code;
	}
	public String getService2_name() {
		return service2_name;
	}
	public void setService2_name(String service2_name) {
		this.service2_name = service2_name;
	}
	public String getService3_code() {
		return service3_code;
	}
	public void setService3_code(String service3_code) {
		this.service3_code = service3_code;
	}
	public String getService3_name() {
		return service3_name;
	}
	public void setService3_name(String service3_name) {
		this.service3_name = service3_name;
	}
	public String getPersonPhoto() {
		return personPhoto;
	}
	public void setPersonPhoto(String personPhoto) {
		this.personPhoto = personPhoto;
	}
	public String getCardPhoto() {
		return cardPhoto;
	}
	public void setCardPhoto(String cardPhoto) {
		this.cardPhoto = cardPhoto;
	}
	public String getQualityPhoto() {
		return qualityPhoto;
	}
	public void setQualityPhoto(String qualityPhoto) {
		this.qualityPhoto = qualityPhoto;
	}
	public String getHealthPhoto() {
		return healthPhoto;
	}
	public void setHealthPhoto(String healthPhoto) {
		this.healthPhoto = healthPhoto;
	}
	public Integer getIsvalid() {
		return isvalid;
	}
	public void setIsvalid(Integer isvalid) {
		this.isvalid = isvalid;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getCompany_code() {
		return company_code;
	}
	public void setCompany_code(String company_code) {
		this.company_code = company_code;
	}
	public String getCompany_name() {
		return company_name;
	}
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}
	
}
